home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 02 - 1986 / 02.09 Sep 86.sit / 02.09 Sep 86 / MacPascal paptest / PapTest.PAS
MacBinary  |  1986-07-13  |  2.1 KB  |  [TEXT/PASC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert TheDraw Pascal screen Image (image/theDrawPascalScreenImage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Jul 13 11:35:03 1986, modified Sun Jul 13 11:35:03 1986, creator 'PASC', type ASCII, 1587 bytes "PapTest.PAS" , at 0x6b3 286 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[PASC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 50 61 70 54 65 73 | 74 2e 50 41 53 00 00 00 |..PapTes|t.PAS...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 41 53 | 43 01 00 00 00 00 00 00 |.TEXTPAS|C.......|
|00000050| 00 00 00 00 00 06 33 00 | 00 01 1e 9b 3d 7b 27 9b |......3.|....={'.|
|00000060| 3d 7b 27 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |={'.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e8 d4 00 00 |........|........|
|00000080| 70 72 6f 67 72 61 6d 20 | 50 61 70 54 65 73 74 3b |program |PapTest;|
|00000090| 0d 20 76 61 72 0d 20 20 | 6c 61 73 65 72 20 3a 20 |. var. |laser : |
|000000a0| 74 65 78 74 3b 0d 0d 62 | 65 67 69 6e 0d 20 6f 70 |text;..b|egin. op|
|000000b0| 65 6e 28 6c 61 73 65 72 | 2c 20 27 2e 50 41 50 27 |en(laser|, '.PAP'|
|000000c0| 29 3b 0d 20 77 72 69 74 | 65 6c 6e 28 6c 61 73 65 |);. writ|eln(lase|
|000000d0| 72 2c 20 27 2f 73 68 6f | 77 6c 69 6e 65 20 7b 20 |r, '/sho|wline { |
|000000e0| 67 73 61 76 65 20 73 68 | 6f 77 20 67 72 65 73 74 |gsave sh|ow grest|
|000000f0| 6f 72 65 20 30 20 2d 37 | 20 72 6d 6f 76 65 74 6f |ore 0 -7| rmoveto|
|00000100| 20 7d 20 64 65 66 27 29 | 3b 0d 20 77 72 69 74 65 | } def')|;. write|
|00000110| 6c 6e 28 6c 61 73 65 72 | 2c 20 27 2f 43 6f 75 72 |ln(laser|, '/Cour|
|00000120| 69 65 72 20 66 69 6e 64 | 66 6f 6e 74 20 37 20 73 |ier find|font 7 s|
|00000130| 63 61 6c 65 66 6f 6e 74 | 20 73 65 74 66 6f 6e 74 |calefont| setfont|
|00000140| 27 29 3b 0d 20 77 72 69 | 74 65 6c 6e 28 6c 61 73 |');. wri|teln(las|
|00000150| 65 72 2c 20 27 35 30 20 | 37 35 30 20 6d 6f 76 65 |er, '50 |750 move|
|00000160| 74 6f 27 29 3b 0d 20 77 | 72 69 74 65 6c 6e 28 6c |to');. w|riteln(l|
|00000170| 61 73 65 72 2c 20 27 28 | 74 68 69 73 20 69 73 20 |aser, '(|this is |
|00000180| 61 20 6c 69 6e 65 29 20 | 73 68 6f 77 6c 69 6e 65 |a line) |showline|
|00000190| 27 29 3b 0d 20 77 72 69 | 74 65 6c 6e 28 6c 61 73 |');. wri|teln(las|
|000001a0| 65 72 2c 20 27 28 73 6f | 20 69 73 20 74 68 69 73 |er, '(so| is this|
|000001b0| 21 29 20 73 68 6f 77 6c | 69 6e 65 27 29 3b 0d 20 |!) showl|ine');. |
|000001c0| 77 72 69 74 65 6c 6e 28 | 6c 61 73 65 72 2c 20 27 |writeln(|laser, '|
|000001d0| 28 74 68 69 73 20 69 73 | 20 61 20 6c 69 6e 65 29 |(this is| a line)|
|000001e0| 20 73 68 6f 77 6c 69 6e | 65 27 29 3b 0d 20 77 72 | showlin|e');. wr|
|000001f0| 69 74 65 6c 6e 28 6c 61 | 73 65 72 2c 20 27 28 73 |iteln(la|ser, '(s|
|00000200| 6f 20 69 73 20 74 68 69 | 73 21 29 20 73 68 6f 77 |o is thi|s!) show|
|00000210| 6c 69 6e 65 27 29 3b 0d | 20 77 72 69 74 65 6c 6e |line');.| writeln|
|00000220| 28 6c 61 73 65 72 2c 20 | 27 28 74 68 69 73 20 69 |(laser, |'(this i|
|00000230| 73 20 61 20 6c 69 6e 65 | 29 20 73 68 6f 77 6c 69 |s a line|) showli|
|00000240| 6e 65 27 29 3b 0d 20 77 | 72 69 74 65 6c 6e 28 6c |ne');. w|riteln(l|
|00000250| 61 73 65 72 2c 20 27 28 | 73 6f 20 69 73 20 74 68 |aser, '(|so is th|
|00000260| 69 73 21 29 20 73 68 6f | 77 6c 69 6e 65 27 29 3b |is!) sho|wline');|
|00000270| 0d 20 77 72 69 74 65 6c | 6e 28 6c 61 73 65 72 2c |. writel|n(laser,|
|00000280| 20 27 28 74 68 69 73 20 | 69 73 20 61 20 6c 69 6e | '(this |is a lin|
|00000290| 65 29 20 73 68 6f 77 6c | 69 6e 65 27 29 3b 0d 20 |e) showl|ine');. |
|000002a0| 77 72 69 74 65 6c 6e 28 | 6c 61 73 65 72 2c 20 27 |writeln(|laser, '|
|000002b0| 28 73 6f 20 69 73 20 74 | 68 69 73 21 29 20 73 68 |(so is t|his!) sh|
|000002c0| 6f 77 6c 69 6e 65 27 29 | 3b 0d 20 77 72 69 74 65 |owline')|;. write|
|000002d0| 6c 6e 28 6c 61 73 65 72 | 2c 20 27 28 74 68 69 73 |ln(laser|, '(this|
|000002e0| 20 69 73 20 61 20 6c 69 | 6e 65 29 20 73 68 6f 77 | is a li|ne) show|
|000002f0| 6c 69 6e 65 27 29 3b 0d | 20 77 72 69 74 65 6c 6e |line');.| writeln|
|00000300| 28 6c 61 73 65 72 2c 20 | 27 28 73 6f 20 69 73 20 |(laser, |'(so is |
|00000310| 74 68 69 73 21 29 20 73 | 68 6f 77 6c 69 6e 65 27 |this!) s|howline'|
|00000320| 29 3b 0d 20 77 72 69 74 | 65 6c 6e 28 6c 61 73 65 |);. writ|eln(lase|
|00000330| 72 2c 20 27 28 74 68 69 | 73 20 69 73 20 61 20 6c |r, '(thi|s is a l|
|00000340| 69 6e 65 29 20 73 68 6f | 77 6c 69 6e 65 27 29 3b |ine) sho|wline');|
|00000350| 0d 20 77 72 69 74 65 6c | 6e 28 6c 61 73 65 72 2c |. writel|n(laser,|
|00000360| 20 27 28 73 6f 20 69 73 | 20 74 68 69 73 21 29 20 | '(so is| this!) |
|00000370| 73 68 6f 77 6c 69 6e 65 | 27 29 3b 0d 20 77 72 69 |showline|');. wri|
|00000380| 74 65 6c 6e 28 6c 61 73 | 65 72 2c 20 27 28 74 68 |teln(las|er, '(th|
|00000390| 69 73 20 69 73 20 61 20 | 6c 69 6e 65 29 20 73 68 |is is a |line) sh|
|000003a0| 6f 77 6c 69 6e 65 27 29 | 3b 0d 20 77 72 69 74 65 |owline')|;. write|
|000003b0| 6c 6e 28 6c 61 73 65 72 | 2c 20 27 28 73 6f 20 69 |ln(laser|, '(so i|
|000003c0| 73 20 74 68 69 73 21 29 | 20 73 68 6f 77 6c 69 6e |s this!)| showlin|
|000003d0| 65 27 29 3b 0d 20 77 72 | 69 74 65 6c 6e 28 6c 61 |e');. wr|iteln(la|
|000003e0| 73 65 72 2c 20 27 28 74 | 68 69 73 20 69 73 20 61 |ser, '(t|his is a|
|000003f0| 20 6c 69 6e 65 29 20 73 | 68 6f 77 6c 69 6e 65 27 | line) s|howline'|
|00000400| 29 3b 0d 20 77 72 69 74 | 65 6c 6e 28 6c 61 73 65 |);. writ|eln(lase|
|00000410| 72 2c 20 27 28 73 6f 20 | 69 73 20 74 68 69 73 21 |r, '(so |is this!|
|00000420| 29 20 73 68 6f 77 6c 69 | 6e 65 27 29 3b 0d 20 77 |) showli|ne');. w|
|00000430| 72 69 74 65 6c 6e 28 6c | 61 73 65 72 2c 20 27 28 |riteln(l|aser, '(|
|00000440| 74 68 69 73 20 69 73 20 | 61 20 6c 69 6e 65 29 20 |this is |a line) |
|00000450| 73 68 6f 77 6c 69 6e 65 | 27 29 3b 0d 20 77 72 69 |showline|');. wri|
|00000460| 74 65 6c 6e 28 6c 61 73 | 65 72 2c 20 27 28 73 6f |teln(las|er, '(so|
|00000470| 20 69 73 20 74 68 69 73 | 21 29 20 73 68 6f 77 6c | is this|!) showl|
|00000480| 69 6e 65 27 29 3b 0d 20 | 77 72 69 74 65 6c 6e 28 |ine');. |writeln(|
|00000490| 6c 61 73 65 72 2c 20 27 | 73 68 6f 77 70 61 67 65 |laser, '|showpage|
|000004a0| 27 29 3b 0d 20 77 72 69 | 74 65 6c 6e 28 6c 61 73 |');. wri|teln(las|
|000004b0| 65 72 2c 20 27 35 30 20 | 37 35 30 20 6d 6f 76 65 |er, '50 |750 move|
|000004c0| 74 6f 27 29 3b 0d 20 77 | 72 69 74 65 6c 6e 28 6c |to');. w|riteln(l|
|000004d0| 61 73 65 72 2c 20 27 28 | 74 68 69 73 20 69 73 20 |aser, '(|this is |
|000004e0| 61 20 6c 69 6e 65 29 20 | 73 68 6f 77 6c 69 6e 65 |a line) |showline|
|000004f0| 27 29 3b 0d 20 77 72 69 | 74 65 6c 6e 28 6c 61 73 |');. wri|teln(las|
|00000500| 65 72 2c 20 27 28 73 6f | 20 69 73 20 74 68 69 73 |er, '(so| is this|
|00000510| 21 29 20 73 68 6f 77 6c | 69 6e 65 27 29 3b 0d 20 |!) showl|ine');. |
|00000520| 77 72 69 74 65 6c 6e 28 | 6c 61 73 65 72 2c 20 27 |writeln(|laser, '|
|00000530| 28 74 68 69 73 20 69 73 | 20 61 20 6c 69 6e 65 29 |(this is| a line)|
|00000540| 20 73 68 6f 77 6c 69 6e | 65 27 29 3b 0d 20 77 72 | showlin|e');. wr|
|00000550| 69 74 65 6c 6e 28 6c 61 | 73 65 72 2c 20 27 28 73 |iteln(la|ser, '(s|
|00000560| 6f 20 69 73 20 74 68 69 | 73 21 29 20 73 68 6f 77 |o is thi|s!) show|
|00000570| 6c 69 6e 65 27 29 3b 0d | 20 77 72 69 74 65 6c 6e |line');.| writeln|
|00000580| 28 6c 61 73 65 72 2c 20 | 27 28 74 68 69 73 20 69 |(laser, |'(this i|
|00000590| 73 20 61 20 6c 69 6e 65 | 29 20 73 68 6f 77 6c 69 |s a line|) showli|
|000005a0| 6e 65 27 29 3b 0d 20 77 | 72 69 74 65 6c 6e 28 6c |ne');. w|riteln(l|
|000005b0| 61 73 65 72 2c 20 27 28 | 73 6f 20 69 73 20 74 68 |aser, '(|so is th|
|000005c0| 69 73 21 29 20 73 68 6f | 77 6c 69 6e 65 27 29 3b |is!) sho|wline');|
|000005d0| 0d 20 77 72 69 74 65 6c | 6e 28 6c 61 73 65 72 2c |. writel|n(laser,|
|000005e0| 20 27 28 74 68 69 73 20 | 69 73 20 61 20 6c 69 6e | '(this |is a lin|
|000005f0| 65 29 20 73 68 6f 77 6c | 69 6e 65 27 29 3b 0d 20 |e) showl|ine');. |
|00000600| 77 72 69 74 65 6c 6e 28 | 6c 61 73 65 72 2c 20 27 |writeln(|laser, '|
|00000610| 28 73 6f 20 69 73 20 74 | 68 69 73 21 29 20 73 68 |(so is t|his!) sh|
|00000620| 6f 77 6c 69 6e 65 27 29 | 3b 0d 20 77 72 69 74 65 |owline')|;. write|
|00000630| 6c 6e 28 6c 61 73 65 72 | 2c 20 27 28 74 68 69 73 |ln(laser|, '(this|
|00000640| 20 69 73 20 61 20 6c 69 | 6e 65 29 20 73 68 6f 77 | is a li|ne) show|
|00000650| 6c 69 6e 65 27 29 3b 0d | 20 77 72 69 74 65 6c 6e |line');.| writeln|
|00000660| 28 6c 61 73 65 72 2c 20 | 27 28 73 6f 20 69 73 20 |(laser, |'(so is |
|00000670| 74 68 69 73 21 29 20 73 | 68 6f 77 6c 69 6e 65 27 |this!) s|howline'|
|00000680| 29 3b 0d 20 77 72 69 74 | 65 6c 6e 28 6c 61 73 65 |);. writ|eln(lase|
|00000690| 72 2c 20 27 73 68 6f 77 | 70 61 67 65 27 29 3b 0d |r, 'show|page');.|
|000006a0| 20 63 6c 6f 73 65 28 6c | 61 73 65 72 29 3b 0d 65 | close(l|aser);.e|
|000006b0| 6e 64 2e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |nd......|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 20 20 20 20 20 20 20 | 58 44 45 46 20 20 20 20 | |XDEF |
|00000730| 0b 50 61 70 54 65 73 74 | 2e 50 41 53 02 00 00 00 |.PapTest|.PAS....|
|00000740| 54 45 58 54 50 41 53 43 | 01 00 00 00 00 00 00 00 |TEXTPASC|........|
|00000750| 00 00 54 45 58 54 50 41 | 53 43 01 00 00 00 00 00 |..TEXTPA|SC......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 9b 3c af f8 00 00 | 06 33 00 00 01 1e 20 20 |...<....|.3.... |
|00000780| 20 20 20 20 20 20 20 20 | 20 49 6e 63 6c 75 64 65 | | Include|
|00000790| 20 41 6d 61 63 73 20 0d | 20 20 20 20 20 20 20 20 | Amacs .| |
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 0d 20 20 20 20 | | . |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000800| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+